<%--
    Document   : index
    Created on : Jul 7, 2011, 1:23:40 AM
    Author     : Thanhluan216
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<jsp:include page="header.jsp"></jsp:include>
            <div id="main">
                <div id="slidebar">
                    <div id="login">
                        <jsp:include page="login.jsp"></jsp:include>
                    </div>
                    <div id="search">
                        <jsp:include page="search.jsp"></jsp:include>
                    </div>
                    <div id="product">
                        <jsp:include page="categorypanel.jsp"></jsp:include>
                    </div>
                </div>
                <div id="content">
                    <a href="#">Home</a>-><a href="#">My Profile</a>
                    <br/>
                    <h2>My Profile</h2>
                    <table border="0">
                        <tr>
                            <td>Username</td>
                            <td>${oneUser.username}</td>
                        </tr>
                        <tr>
                            <td>Password</td>
                            <td>***************</td>
                        </tr>

                        <tr>
                            <td>First Name</td>
                            <td>${oneUser.firstName}</td>
                        </tr>
                        <tr>
                            <td>Last Name</td>
                            <td>${oneUser.lastName}</td>
                        </tr>
                        <tr>
                            <td>Email</td>
                            <td>${oneUser.email}</td>
                        </tr>
                        <tr>
                            <td>Phone No</td>
                            <td>${oneUser.phone}</td>
                        </tr>
                        <tr>
                            <td>Address</td>
                            <td>${oneUser.address}</td>
                        </tr>

                        <tr>
                            <td>
                                <form action="updateProfile.jsp">
                                    <input type="hidden" value="${oneUser.firstName}" name="firstName"/>
                                    <input type="hidden" value="${oneUser.email}" name="email"/>
                                    <input type="hidden" value="${oneUser.phone}" name="phone"/>
                                    <input type="hidden" value="${oneUser.address}" name="address"/>
                                    <input type="hidden" value="${oneUser.lastName}" name="lastName"/>

                                    <input type="submit" value="Update"/>
                                </form>
                            </td>
                            <td>
                                <form action="changePassword.jsp">

                                    <input type="submit" value="Change Password"/>
                                </form>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="footer">

            </div>
        </div>
    </body>
</html>
